package com.kfm.login.util;

import java.util.List;

public class Constant {

    public static final String CAPTCHA_PRE = "captcha_";

    public static final String TOKEN_KEY = "token";
    public static final String EMAIL_PRE = "email_active_";


    public static final String PATTERN_PHONE = "^1[3-9]\\d{9}$";

    public static final String PATTERN_EMAIL = "^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$";
    public static final String USER_PRE = "login_user_";
    public static final String REMEMBER_USER_PRE = "remember_user_";
    public static final String REMEMBER_ME = "remember_me";

    public static final List<String> EXCLUDE_PATH = List.of("/login", "/", "/captcha", "/temp");
}
